
<%@ page language="java" import="com.sql.*,com.database.*" pageEncoding="gb2312"%>

  <%
  //System.out.println("aa");
int id = Integer.parseInt(request.getParameter("id"));

DataBase base=new DataBase();
String sql="delete from CQMS_Winlogic where id="+id;

try{
	base.executeUpdate(sql);
	response.sendRedirect("BusinessFirst.jsp");
}
catch(Exception ex){
	System.out.println(ex.getMessage());
}
finally{
	base.closeStmt();
	base.closeConn();
}
   %>
